package com.github.freegeese.maven.plugin.autocode.configuration;

import java.util.Properties;

/**
 * Created by Administrator on 2017/3/31.
 */
public class JdbcConnection {
    private String driver;
    private String url;
    private String user;
    private String password;
    private Properties clientInfo;

    public String getDriver() {
        return driver;
    }

    public void setDriver(String driver) {
        this.driver = driver;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Properties getClientInfo() {
        return clientInfo;
    }

    public void setClientInfo(Properties clientInfo) {
        this.clientInfo = clientInfo;
    }

    @Override
    public String toString() {
        return "JdbcConnection{" +
                "driver='" + driver + '\'' +
                ", url='" + url + '\'' +
                ", user='" + user + '\'' +
                ", password='" + password + '\'' +
                ", clientInfo=" + clientInfo +
                '}';
    }
}
